package 匿名内部类;

public class MyInterfaceImp implements MyInterface {


    @Override
    public void method1() {
        System.out.println("实现类覆盖重写了方法111");

    }

    @Override
    public void method2() {
        System.out.println("实现类覆盖重写了方法222");

    }
}
